const vm = require('vm');

// TODO: 和 new Function 的区别
const fn = vm.compileFunction('return i + j', ['i', 'j']);
console.log(fn(1, 2));
